nlp.Defaults.stop_words.add spacy

22

import spacy    
nlp = spacy.load("en")
nlp.Defaults.stop_words |= {"my_new_stopword1","my_new_stopword2",}

Comments

Submit
0 Comments